ODObject
- Superclasses
- none
- Subclasses
- all OpenDoc classes
The
ODObject
class is the superclass of all OpenDoc classes; it defines features that all subclasses support, such as memory recovery and extensions.Description
TheODObject
class defines a general memory recovery system through thePurge
method (page 443). It also defines an extension mechanism that allows subclasses to extend the functionality of objects. Subclasses are responsible for defining the extensions they support. For more information on extensions, see theODExtension
class description (page 212).You should never instantiate
ODObject
; you can create an object of anODObject
subclass by calling the appropriate factory method, if a factory method exists.Methods
This section presents summary descriptions of theODObject
methods grouped according to purpose, followed by detailed descriptions in alphabetical order.Object Characteristics
Extensions
IsEqualTo
- Returns a Boolean value that indicates whether the specified object is equal to this object.
Memory Management
AcquireExtension
- Returns a reference to the specified extension object.
HasExtension
- Returns a Boolean value that indicates whether the object supports the specified extension.
ReleaseExtension
- Releases the specified extension object.
Debugging
Purge
- Releases any unneeded memory during low-memory situations.
SubClassResponsibility
- Raises an exception to indicate that a subclass failed to override a required method.
Methods
AcquireExtension
HasExtension
IsEqualTo
Purge
ReleaseExtension
SubClassResponsibility
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help